package com.xiaochen.baidu.common.design.link;

import lombok.Getter;

import java.util.Arrays;

/**
 * @author xc
 * @date 2025/10/11/22:07
 * @desc
 */
@Getter
public class LinkArmory <T,D,R>{
    private final BusinessLinkedList<T,D,R> businessLinkedList = new BusinessLinkedList<>();

    @SafeVarargs
    public LinkArmory(ILogicHandler<T,D,R>... logicHandler) {
        businessLinkedList.addAll(Arrays.asList(logicHandler));
    }
}
